package com.ws.shop.dao;

import java.util.List;

import com.ws.shop.entity.Accessory;

public interface AccessoryDao {

	public Object[] saveOrUpdate(Accessory accessory);

	public void deleteById(int id);

	public Accessory findAccessoryById(int id);

	public List<Accessory> getAccessoryByRelationId(long relationid);
	
	public int winersayUpimg(final long uid,final long oid,final long  accessoryid);
	
}
